package com.yanqu.road.entity.log.cross.feast;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

import java.util.Date;

/**
 * 结算日志
 */
@FieldTypeAnnotation(tableName = "t_l_ck_activity_feast_log_pvp_settle", desc = "山河乐宴-pvp轮次结算", autoSave = true, uploadCk = true, isCross = true)
public class LogFeastPvpSettle extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动", dataAttribute = "activityid", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "轮次")
    private int round;
    @FieldTypeAnnotation(desc = "玩家", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "房间")
    private int placeId;
    @FieldTypeAnnotation(desc = "称号")
    private int stateId;
    @FieldTypeAnnotation(desc = "才力")
    private long powerVal;
    @FieldTypeAnnotation(desc = "属性")
    private String skillMap;
    @FieldTypeAnnotation(desc = "排行值")
    private long value;
    @FieldTypeAnnotation(desc = "排行参数")
    private String param;
    @FieldTypeAnnotation(desc = "排行")
    private int rank;
    @FieldTypeAnnotation(desc = "榜单时间")
    private long updateTime;
    @FieldTypeAnnotation(desc = "入库时间")
    private Date logTime;

    public LogFeastPvpSettle(int activityId, int round, long userId, int placeId, int stateId, long powerVal, String skillMap, long value, String param, int rank, long updateTime) {
        this.activityId = activityId;
        this.round = round;
        this.userId = userId;
        this.placeId = placeId;
        this.stateId = stateId;
        this.powerVal = powerVal;
        this.skillMap = skillMap;
        this.value = value;
        this.param = param;
        this.rank = rank;
        this.updateTime = updateTime;
        this.logTime = new Date();
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getRound() {
        return round;
    }

    public void setRound(int round) {
        this.round = round;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getPlaceId() {
        return placeId;
    }

    public void setPlaceId(int placeId) {
        this.placeId = placeId;
    }

    public int getStateId() {
        return stateId;
    }

    public void setStateId(int stateId) {
        this.stateId = stateId;
    }

    public long getPowerVal() {
        return powerVal;
    }

    public void setPowerVal(long powerVal) {
        this.powerVal = powerVal;
    }

    public String getSkillMap() {
        return skillMap;
    }

    public void setSkillMap(String skillMap) {
        this.skillMap = skillMap;
    }

    public long getValue() {
        return value;
    }

    public void setValue(long value) {
        this.value = value;
    }

    public String getParam() {
        return param;
    }

    public void setParam(String param) {
        this.param = param;
    }

    public int getRank() {
        return rank;
    }

    public void setRank(int rank) {
        this.rank = rank;
    }

    public Date getLogTime() {
        return logTime;
    }

    public void setLogTime(Date logTime) {
        this.logTime = logTime;
    }

    public long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(long updateTime) {
        this.updateTime = updateTime;
    }
}
